package com.qdxwx.models.course;

import com.qdxwx.models.teacher.Teacher;

import java.time.LocalDateTime;
import java.util.List;

public class CourseNodeDTO extends CourseNode {

    private static final long serialVersionUID = 5812464493398996828L;

    private String teacherName;
	private String courseName;//课程名
	private String courseLogo;//课程图片
	private int buyCount;//销售数量
	private Integer price;//课程销售价格（实际支付价格）设置为0则可免费观看
	private LocalDateTime courseLiveBeginTime;//课程直播开始时间
	private LocalDateTime courseLiveEndTime;//课程直播结束时间
	private List<Teacher> teacherList;//该课程 下的老师list

    public CourseNodeDTO() {
    }

    public String getTeacherName() {
        return this.teacherName;
    }

    public String getCourseName() {
        return this.courseName;
    }

    public String getCourseLogo() {
        return this.courseLogo;
    }

    public int getCourseBuycount() {
        return this.buyCount;
    }

    public Integer getPrice() {
        return this.price;
    }

    public LocalDateTime getCourseLiveBeginTime() {
        return this.courseLiveBeginTime;
    }

    public LocalDateTime getCourseLiveEndTime() {
        return this.courseLiveEndTime;
    }

    public List<Teacher> getTeacherList() {
        return this.teacherList;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public void setCourseLogo(String courseLogo) {
        this.courseLogo = courseLogo;
    }

    public void setBuyCount(int buyCount) {
        this.buyCount = buyCount;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public void setCourseLiveBeginTime(LocalDateTime courseLiveBeginTime) {
        this.courseLiveBeginTime = courseLiveBeginTime;
    }

    public void setCourseLiveEndTime(LocalDateTime courseLiveEndTime) {
        this.courseLiveEndTime = courseLiveEndTime;
    }

    public void setTeacherList(List<Teacher> teacherList) {
        this.teacherList = teacherList;
    }

    @Override
    public String toString() {
        return "CourseNodeDTO{" +
                "teacherName='" + teacherName + '\'' +
                ", courseName='" + courseName + '\'' +
                ", courseLogo='" + courseLogo + '\'' +
                ", buyCount=" + buyCount +
                ", price=" + price +
                ", courseLiveBeginTime=" + courseLiveBeginTime +
                ", courseLiveEndTime=" + courseLiveEndTime +
                ", teacherList=" + teacherList +
                '}';
    }
}
